package com.bruce.service.impl;

import com.bruce.bean.ClassStudnet;
import com.bruce.bean.Major;
import com.bruce.dao.FindMajor;
import com.bruce.dao.impl.FindMajorimpl;
import com.bruce.service.ClassService;

import java.util.List;

/**
 * @author cc
 * @date 2021/7/24 13:35
 * @Description
 */

public class ClassServiceImpl implements ClassService {
    FindMajor findMajor= new FindMajorimpl();
    @Override
    public List<Major> FindAllMajor() {
        return    findMajor.FindALlMajor();

    }

    @Override
    public List<ClassStudnet> FindClass(int collegeID) {
        return findMajor.FindClass(collegeID);
    }
}
